import instance from './request.js'

const get=(config)=>{
	return instance({
		...config,
		method:'get',
		params:config.data
	})
}
	
const post=(config)=>{
	return instance({
		...config,
		method:'post',
		params:config.data
	})
}

export default{
	get,
	post
}